package com.ibeeking.found.upms.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName GlobalRoleDo
 * @Description
 * @Author ibeeking
 * @Date 2020-12-02 15:29
 **/
@Data
@TableName("upms_g_role")
public class RoleDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 角色编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 角色名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 角色类型
     */
    @TableField(value = "role_type")
    private String roleType;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 是否启用，1-启用，0-未启用
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;
}
